<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <script type="text/javascript">

        function updateHtml(){

             document.getElementById("content").innerHTML =
                 "你通过 android 中的控件调用了html 中js 的方法";

        }

        function start(){

            window.login.startFunction("click");
        }



    </script>
</head>
<body>
this is my html <a href="javascript:start()">调用java中的方法</a>
<input type="button" onclick="start()" name="sdfsd" value="12345884"/>

<br/>
<br/>
<br/>
<br/>
<input type="button" value="jsCallJava" onclick="window.login.clickOnAndroid()"/>
<span id="content"></span>
</body>
</html>